import Vue from "vue"
import VueRouter from "vue-router"
import index from "../components/Index.vue"
import prolist from "../components/Prolist.vue"
import proDt from "../components/ProDt.vue"
import pronav from "../components/ProNav.vue"
import compStr from "../components/CompStr.vue"
import aboutComp from "../components/AboutComp.vue"
import compQual from "../components/CompQual.vue"
import contactUs from "../components/ContactUs.vue"
import contact from "../components/Contact.vue"
import develpTend from "../components/DevelpTend.vue"
import compNotice from "../components/CompNotice.vue"
import indNews from "../components/IndNews.vue"
Vue.use(VueRouter)
const routes=[
    {path:"/",component:index},
    {path:"/prolist",component:prolist},
    {path:"/proDt",component:proDt,children:[
        
            {path:"/proDt", component:develpTend},
            {path:"/proDt/compNotice", component:compNotice},
            {path:"/proDt/indNews", component:indNews},
        
    ]},
    {path:"/compStr",component:compStr,children:[
        {path:"/compStr",component:aboutComp},
        {path:"/compStr/compQual",component:compQual},
        {path:"/compStr/contactUs",component:contactUs}
    ]},
    {path:"/contact",component:compStr,alias:"contact",children:[
        {path:"/contact",component:aboutComp},
        {path:"/compStr/compQual",component:compQual},
        {path:"/compStr/contactUs",component:contactUs}
    ]}
]
var router=new VueRouter({routes,mode:"history"})
export default router